<?php
class Demo
{
	public function run()
	{
		echo 'demo run...';
	}
}

class Test extends Demo
{
	public function run()
	{
		parent::run();
		echo 'test run...';
	}	
}
$obj = new Test;
$obj->run();